﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="album.aspx.cs" Inherits="album" MasterPageFile="~/Main.master"%>

<asp:Content ContentPlaceHolderID="main_style" runat="server">
    <link href="Styles/album.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ContentPlaceHolderID="main_left" runat="server">
    <h1 id="h1" runat="server">新建相册</h1>
	<form method="post" class="newstory" runat="server">
	      <input id="albumName" runat="server"  type="text" onchange="checkGroupName(this);" onblur="textFill(this,'相册名称');" onfocus="textClear(this,'相册名称');" class="ititle textini" value="相册名称" name="title"/>
	      <textarea id="albumDesp" runat="server" onblur="textFill(this,'相册简介');" onfocus="textClear(this,'相册简介');"  class="isummay textini" name="summary">相册简介</textarea>
	      
	   
		<div id="photoCoverBox" class="icover">
		</div> 
   
		 <div class="uploadContainer" id="cover" runat="server">
         <label>上传封面照片</label>
			<div id="fileQueue" class="uploadifyQueue">
                <asp:FileUpload ID="coverUpload" runat="server" Width="251px" />
                <asp:Button ID="uploadButton" runat="server" Text="上传" onclick="uploadButton_Click" />
                <asp:CustomValidator ID="imageValidate" runat="server" ControlToValidate="coverUpload" OnServerValidate="isImage" ErrorMessage="图片格式错误！"></asp:CustomValidator>
            </div>
            <asp:Image ID="Image1" runat="server" Width="300" />
         </div>
					
	        		&nbsp;<div>
                    <asp:Button ID="createAlbum" runat="server" Text="创建新相册" class="isubmit" 
                        onclick="createAlbum_Click"></asp:Button>
	        		</div>
</form>
</asp:Content>

<asp:Content ContentPlaceHolderID="main_right" runat="server">
    <div class="rblock" id="rblock" runat="server">
		        	<div class="title1">创建自己的相册</div>
		        	<ul class="tips">
		        		<li>创建相册请遵守《使用条例》</li>
		        		<li></li>
		        	</ul>
	        	</div>
    <div id="uploadlink" class="rblock" runat="server">
        <div class="title1">&gt;<asp:HyperLink ID="uplink" runat="server" Visible="false">上传更多图片</asp:HyperLink></div>
        <div class="title1">&gt;<asp:HyperLink ID="albumlink" runat="server" ></asp:HyperLink></div>
    </div>
</asp:Content>